package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.flea.hclv.model.entity.HTripSpotsRelation;

public interface HTripSpotRelationMapper {
//    int deleteByPrimaryKey(String id);
//
//    int insert(HTripSpotsRelation record);
//
//    int insertSelective(HTripSpotsRelation record);
//
//    HTripSpotsRelation selectByPrimaryKey(String id);
//
//    int updateByPrimaryKeySelective(HTripSpotsRelation record);
//
//    int updateByPrimaryKey(HTripSpotsRelation record);
	
	List<HTripSpotsRelation> selectByTripId(@Param("tripId") String tripId);

	int insert(@Param("entities") List<HTripSpotsRelation> entities);

	int deleteByTripIds(@Param("tripIds") List<String> tripIds);
	
	int deleteByProductIds(@Param("productIds") List<String> productIds);
	
}